package cn.oms.manage.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 说明：
 *
 * @author:Hyx
 * @date:2023/6/16
 **/
@Data
@Accessors(chain = true)
public class RecordUpdateParam implements Serializable {
    @ApiModelProperty(value = "用户ID",required = true)
    @NotNull(message = "添加诊断记录失败，必须提交用户ID")
    private Long user_id;

    @ApiModelProperty(value = "医生ID",required = true)
    @NotNull(message = "添加诊断记录失败，必须提交医生ID")
    private Long doctor_id;

    @ApiModelProperty(value = "药品ID",required = true)
    @NotNull(message = "添加诊断记录失败，必须提交药品ID")
    private Long medicine_id;

    @ApiModelProperty(value = "描述", required = true)
    @NotNull(message = "添加诊断记录失败，必须提交描述！")
    private String description;

    @ApiModelProperty(value = "售价", required = true)
    @NotNull(message = "添加诊断记录失败，必须提交售价！")
    private Double treat_price;
}
